package com.lr.infra.mapper;

import com.lr.domain.entity.Departments;
import com.lr.domain.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<Departments> findDep();

    void createDepartment(Departments department);

    void deleteDepartment(Integer id);

    void updateDepartment(Departments department);

    List<Departments> oneToNum();
}
